import Layout from "@/layout";

const BaseScreenManageRouter = {
  path: "/basic-info-manage",
  component: Layout,
  redirect: "noRedirect",
  name: "BasicInfoManage",
  meta: { title: "基础信息管理", icon: "system-settings" },
  children: [
    {
      path: "base-information-management",
      name: "baseInformationManagement",
      component: () =>
        import("@/views/production-operation-maintenance/basic-info-manage/base-information-management/index"),
      meta: { title: "基地信息管理", icon: "agricultural-type-management" }
      // children: [
      //   {
      //     path: "base-information-management",
      //     name: "baseInformationManagement",
      //     component: () =>
      //       import("@/views/production-operation-maintenance/basic-info-manage/base-information-management/index"),
      //     meta: { title: "基地信息管理", icon: "agricultural-type-management" },
      //   },
      //   {
      //     path: "base-information-management",
      //     name: "baseInformationManagement",
      //     component: () =>
      //       import("@/views/production-operation-maintenance/basic-info-manage/base-information-management/index"),
      //     meta: { title: "基地信息管理", icon: "agricultural-type-management" },
      //   }
      // ]
    },
    // {
    //   path: "functional-audit",
    //   name: "FunctionalAudit",
    //   component: () =>
    //     import("@/views/production-operation-maintenance/basic-info-manage/functional-audit/index"),
    //   // component: { render(c) { return c('router-view') } },
    //   redirect: 'functional-audit',
    //   meta: { title: "功能审核", icon: "agricultural-type-management" }
    // },
    // {
    //   path: "collection-failure-record",
    //   name: "CollectionFailureRecord",
    //   // component: () =>
    //   // import("@/views/production-operation-maintenance/basic-info-manage/functional-audit/index"),
    //   component: { render(c) { return c('router-view') } },
    //   redirect: 'collection-failure-record',
    //   meta: { title: "采集记录", icon: "agricultural-type-management" },
    //   children: [
    //     {
    //       path: "select-base",
    //       name: "FCollectionFailureOne",
    //       component: () =>
    //         import("@/views/production-operation-maintenance/basic-info-manage/collection-failure-record/select-base/index"),
    //       meta: { title: "选择基地", hidden: true, icon: "agricultural-type-management" }
    //     },
    //     {
    //       path: "collection-failure",
    //       name: "CollectionFailure",
    //       component: () =>
    //         import("@/views/production-operation-maintenance/basic-info-manage/collection-failure-record/collection-failure/index"),
    //       meta: { title: "采集失败记录", hidden: true, icon: "agricultural-type-management" }
    //     }
    //   ]
    // },
    // {
    //   path: "warehouse-management",
    //   name: "WarehouseManagement",
    //   // component: () =>
    //   // import("@/views/production-operation-maintenance/basic-info-manage/functional-audit/index"),
    //   component: { render(c) { return c('router-view') } },
    //   redirect: 'warehouse-management',
    //   meta: { title: "仓库", icon: "agricultural-type-management" },
    //   children: [
    //     {
    //       path: "select-baseo",
    //       name: "selectOne",
    //       component: () =>
    //         import("@/views/production-operation-maintenance/basic-info-manage/warehouse-management/select-base/index"),
    //       meta: { title: "选择基地", hidden: true, icon: "agricultural-type-management" }
    //     },
    //     {
    //       path: "warehouse-two",
    //       name: "warehouseTwo",
    //       component: () =>
    //         import("@/views/production-operation-maintenance/basic-info-manage/warehouse-management/warehouse-two/index"),
    //       meta: { title: "仓库管理", hidden: true, icon: "agricultural-type-management" }
    //     }
    //   ]
    // },
    {
      path: "agricultural-type-management",
      name: "AgriculturalTypeManagement",
      component: () =>
        import("@/views/production-operation-maintenance/basic-info-manage/agricultural-type-management/index"),
      meta: { title: "农业类型管理", icon: "agricultural-type-management" }
    },
    {
      path: "agricultural-base-management",
      name: "AgriculturalBaseManagement",
      component: () =>
        import("@/views/production-operation-maintenance/basic-info-manage/agricultural-base-management/index"),
      meta: { title: "基地&农业类型", icon: "agricultural-type-management" }
    },
    {
      path: "organizationInfo",
      name: "organizationInfo",
      component: () =>
        import("@/views/production-operation-maintenance/basic-info-manage/organizationInfo"),
      meta: { title: "基地&组织信息", icon: "agricultural-type-management" }
    },
    {
      path: "expiration-reminder",
      name: "ExpirationReminder",
      component: () =>
        import("@/views/production-operation-maintenance/basic-info-manage/expiration-reminder"),
      meta: { title: "基地&设备过保", icon: "agricultural-type-management" }
    },
    {
      path: "growth-stage-division",
      name: "GrowthStageDivision",
      component: () =>
        import("@/views/production-operation-maintenance/basic-info-manage/growth-stage-division/index"),
      meta: { title: "生长阶段划分", icon: "growth-stage-division" }
    },
    {
      path: "coding-management",
      name: "CodingManagement",
      component: () =>
        import("@/views/production-operation-maintenance/basic-info-manage/coding-management/index"),
      meta: { title: "编码类型管理", icon: "coding-management" }
    },
    {
      path: "document-type-management",
      name: "DocumentTypeManagement",
      component: () =>
        import("@/views/production-operation-maintenance/basic-info-manage/document-type-management/index"),
      meta: { title: "证件类型管理", icon: "agri-mate-type-manage" }
    },
    {
      path: "businessImg",
      name: "businessImg",
      component: () =>
        import("@/views/production-operation-maintenance/basic-info-manage/businessImg/index"),
      meta: { title: "企业资质图片", icon: "agricultural-type-management" }
    },
    {
      path: "organizationImage",
      name: "organizationImage",
      component: () =>
        import("@/views/production-operation-maintenance/basic-info-manage/organizationImage/index"),
      meta: { title: "基地概览图配置", icon: "agricultural-type-management" }
    },

    {
      path: "models-pictures",
      name: "ModelsPictures",
      component: () =>
        import("@/views/production-operation-maintenance/basic-info-manage/models-pictures/index"),
      meta: { title: "模型&图片", icon: "agricultural-type-management" }
    },
    {
      path: "facility-type-management",
      name: "FacilityTypeManagement",
      component: () =>
        import("@/views/production-operation-maintenance/basic-info-manage/facility-type-management/index"),
      meta: { title: "设施类型管理", icon: "facility-type-manage" }
    },
    {
      path: "production-form",
      name: "ProductionForm",
      component: () =>
        import("@/views/production-operation-maintenance/basic-info-manage/production-form/index"),
      meta: { title: "投产形式管理", icon: "production-form" }
    },
    {
      path: "style-custom-configuration",
      name: "StyleCustomConfiguration",
      component: () =>
        import("@/views/production-operation-maintenance/basic-info-manage/style-custom-configuration/index"),
      meta: { title: "风格配置", icon: "agricultural-type-management" }
    },
    {
      path: "style-custom-manage",
      name: "StyleCustomConfiguration",
      component: () =>
        import("@/views/production-operation-maintenance/basic-info-manage/style-custom-manage/index"),
      meta: { title: "系统关联风格配置", icon: "growth-stage-division" }
    },
    {
      path: "unit-manage",
      name: "UnitManage",
      component: () =>
        import("@/views/production-operation-maintenance/basic-info-manage/unit-manage/index"),
      meta: { title: "单位管理", icon: "unit-manage" }
    },
    {
      path: "unit-type-manage",
      name: "UnitTypeManage",
      component: () =>
        import("@/views/production-operation-maintenance/basic-info-manage/unit-type-manage/index"),
      meta: { title: "单位类型管理", icon: "unit-manage" }
    },
    {
      path: "medicine-management",
      name: "MedicineManagement",
      component: () =>
        import("@/views/production-operation-maintenance/basic-info-manage/medicine-management/index"),
      meta: { title: "药肥管理", icon: "agr-source-Type-Manage" }
    },
    {
      path: "agr-source-base-Manage",
      name: "AgrSourceBaseManage",
      component: () =>
        import("@/views/production-operation-maintenance/basic-info-manage/agr-source-base-Manage/index"),
      meta: { title: "原料管理", icon: "agr-source-Type-Manage" }
    },
    {
      path: "agr-source-Type-Manage",
      name: "AgrSourceTypeManage",
      component: () =>
        import("@/views/production-operation-maintenance/basic-info-manage/agr-source-Type-Manage/index"),
      meta: { title: "原料类型管理", icon: "agr-source-Type-Manage" }
    },
    {
      path: "semi-finished-Manage",
      name: "AgrSourceBaseManage",
      component: () =>
        import("@/views/production-operation-maintenance/basic-info-manage/semi-finished-Manage/index"),
      meta: { title: "半成品管理", icon: "agr-source-Type-Manage" }
    },
    {
      path: "semi-finished-Type-Manage",
      name: "AgrSourceTypeManage",
      component: () =>
        import("@/views/production-operation-maintenance/basic-info-manage/semi-finished-Type-Manage/index"),
      meta: { title: "半成品类型管理", icon: "agr-source-Type-Manage" }
    },
    {
      path: "finished-Manage",
      name: "AgrSourceBaseManage",
      component: () =>
        import("@/views/production-operation-maintenance/basic-info-manage/finished-Manage/index"),
      meta: { title: "成品管理", icon: "agr-source-Type-Manage" }
    },
    {
      path: "finished-Type-Manage",
      name: "AgrSourceTypeManage",
      component: () =>
        import("@/views/production-operation-maintenance/basic-info-manage/finished-Type-Manage/index"),
      meta: { title: "成品类型管理", icon: "agr-source-Type-Manage" }
    },
    {
      path: "breed-varieties-management",
      name: "BreedVarietiesManagement",
      component: () =>
        import("@/views/production-operation-maintenance/basic-info-manage/breed-varieties-management/index"),
      meta: { title: "种养品种管理", icon: "breed-varieties-management" }
    },
    {
      path: "category-management",
      name: "CategoryManagement",
      component: () =>
        import("@/views/production-operation-maintenance/basic-info-manage/category-management/index"),
      meta: { title: "种养类型管理", icon: "category-management" }
    },
    {
      path: "examine-manage",
      name: "examineManageme",
      component: () =>
        import("@/views/production-operation-maintenance/basic-info-manage/examine-manage/index"),
      meta: { title: "基础信息审核", icon: "category-management" }
    }
    // 运维人员在模板配置完成之后在这里查看配置结果与进行修改
    // {
    //   path: "specificConfiguration",
    //   name: "specificConfiguration",
    //   component: () =>
    //     import("@/views/base-screen-manage/specific-configuration/index"),
    //   meta: { title: "物流管理", icon: "system-settings" }
    // },

    // // 运维人员在模板配置完成之后在这里查看配置结果与进行修改
    // {
    //   path: "specificConfiguration",
    //   name: "specificConfiguration",
    //   component: () =>
    //     import("@/views/base-screen-manage/specific-configuration/index"),
    //   meta: { title: "退款管理", icon: "system-settings" }
    // }
  ]
};

export default BaseScreenManageRouter;
